home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
firese1a
/
search.bas
< prev
next >
Wrap
BASIC Source File
|
1999-09-26
|
1KB
|
26 lines
Attribute VB_Name = "search"
Global textsearch As String
Global engine As String
Public Sub search()
textsearch = StrConv(textsearch, vbLowerCase)
Select Case mainwin.engine
Case "Yahoo"
mainwin.results.Navigate "http://search.yahoo.com/bin/search?p=" + textsearch
Case "HotBot"
mainwin.results.Navigate "http://www.hotbot.com/?MT=" + textsearch + "&SM=MC&DV=0&LG=any&DC=10&DE=2&BT=H"
Case "Lycos"
mainwin.results.Navigate "http://www.lycos.com/cgi-bin/pursuit?cat=dir&query=" + textsearch
Case "AltaVista"
mainwin.results.Navigate "http://www.altavista.com/cgi-bin/query?pg=q&kl=XX&stype=stext&q=" + textsearch
Case "MSN"
mainwin.results.Navigate "http://search.msn.com/spbasic.htm?MT=" + textsearch
Case "Infoseek"
mainwin.results.Navigate "http://infoseek.go.com/Titles?qt=" + textsearch + "&col=WW&sv=IS&lk=noframes&svx=home_searchbox"
Case "Mamma"
mainwin.results.Navigate "http://www.mamma.com/Mamma?lang=1&timeout=4&qtype=0&query=" + textsearch + "&Submit=Find+It%21"
Case "Dogpile"
mainwin.results.Navigate "http://www.dogpile.com/texis/search?q=" + textsearch + "&fs=web&to=thirty"
End Select
End Sub